<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文件上传</title>
</head>
<body>
<form action="http://localhost:8088/UpLoad/uploadServlet" method="post" enctype="multipart/form-data">
  用户名：<input name="username" type="text"><br>
    头像：<input type="file" name="photo"><br>
    <input type="submit" value="上传">
</form>
</body>
</html>